<?php
	include "../../public/commom/config.php";
	include "../../public/commom/commom.php";
	
	if($_GET) {
		$shop_id = $_GET["id"];
		
   		unset($_SESSION["shop"][$shop_id]);
   		
   		mysqli_close($conn);
   		
   		header("Location: ./index.php");
	}else {
		unset($_SESSION["shop"]);
		
		mysqli_close($conn);
		
		header("Location: ./index.php");
	}
?>